/* -----------------------------------------------------
 iCompose
 Tempo.m
 
 Created by Team: THE BEARD on 20/10/09.
 
 Members who contributed to this file:
 1. Bobby Luk
 2. Ethan Holmes
 
 List of changes to previous member:
 Version 1:
 Oct 20, 2009 (Bobby)
 - added instance variables, setters and getters
 Oct 31, 2009 (Ethan)
 - implemented Encode / Decode methods
 
 Simon Fraser University, 2009.
 ----------------------------------------------------- */

#import "Tempo.h"

@implementation Tempo

@synthesize speed;

-(id)initWithCoder:(NSCoder*)coder {
	speed = [coder decodeIntForKey:@"speed"];
	return self;
}

-(void)encodeWithCoder:(NSCoder*)encoder {
	[encoder encodeInt:speed forKey:@"speed"];
}

@end
